let mongoose = require("mongoose");
const userSchema = mongoose.Schema({
    account:String,//用户ID
    name:String,//用户名称
    phone:String,//用户电话
    sex:String,//用户性别
    age:String,//用户年龄
    email:String,//用户邮箱
    password:String,//用户密码
    
},{ collection: 'user'})

const User  = mongoose.model("user",userSchema);
module.exports = User;
